<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Adding page numbers to a document</title>
<link rel="stylesheet" href="userhelp_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='userhelp.css'>");}
//-->
</script>
<style type="text/css">
<!--
ol.whs1 { list-style:decimal; }
p.whs2 { margin-left:40px; }
ul.whs3 { list-style:disc; }
ul.whs4 { list-style:square; }
p.whs5 { margin-left:0px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
  var strNSS = "<style type='text/css'>";
  strNSS += "p.whs5 {margin-left:1pt; }";
  strNSS +="</style>";
  document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nCreating and formatting a document\nAdding page breaks and numbering pages\nAdding page numbers to a document");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Adding page numbers to a document</h1>
<p>By default, a document does not have any page numbers printed on it. 
 You can add them anywhere you want in the document - typically this would 
 be in the Page Header or Page Footer sections. </p>
<p>Auto-text codes related to pagination, such as Page Number and Total 
 Page, only apply when the document is viewed or printed out in PDF. For 
 more information on auto text codes, see 
<a HREF="Add_auto_text_codes.htm">Adding 
 auto text codes to documents</a>.</p>
<h2>To add page numbers to a document</h2>
<ol type="1" class="whs1">
	
<li class=p><p>Open the document in <span style="font-weight: bold;"><B>Design 
 </B></span>or <span style="font-weight: bold;"><B>Editable Mode</B></span>.</p></li>
	
<li class=p><p>Expand the section where you want the page number, by 
 clicking the plus sign next to the section name. </p></li>
	
<li class=p><p>From the <span style="font-weight: bold;"><B>Insert</B></span> 
 menu, select <span style="font-weight: bold;"><B>Auto Text</B></span>, and then 
 select <span style="font-weight: bold;"><B>Page Number</B></span>. The text field 
 is inserted at the top left corner of the selected section, but you can 
 
<a HREF="Move_controls_on_documents.htm">reposition</a> it. </p></li>
	
<li class=p><p>You can add the total number of pages in the document:</p></li>
</ol>
<p class="whs2">From the <span style="font-weight: bold;"><B>Insert</B></span> 
 menu, select <span style="font-weight: bold;"><B>Auto Text</B></span>, and then 
 select <span style="font-weight: bold;"><B>Total Pages</B></span>. The text field 
 is inserted at the top left corner of the selected section, but you can 
 
<a HREF="Move_controls_on_documents.htm">reposition</a> it. </p>
<ol start="5" type="1" class="whs1">
	
<li class=p><p>Click the <span style="font-weight: bold;"><B>Apply</B></span> 
 icon .</p></li>
</ol>
<p class="whs2">To print a label like &quot;Page 1 of 8&quot;: 
 </p>
<ul type="disc" class="whs3">
	
<li class=p><p class="whs2">Click <span style="font-weight: bold;"><B>Text</B></span> 
 on the toolbar. </p></li>
	
<li class=p><p class="whs2">In the section you expanded, 
 click where you want the label. A blank text field is inserted. </p></li>
	
<li class=p><p class="whs2">In the text field, type <span 
 style="font-weight: bold;"><B>Page</B></span>, followed by a space. </p></li>
	
<li class=p><p class="whs2">Insert the Page Number as 
 described in Step 3 above. </p></li>
	
<li class=p><p class="whs2">Type a space, then <span 
 style="font-weight: bold;"><B>of</B></span>, then another space. </p></li>
	
<li class=p><p class="whs2">Insert the<span style="font-weight: bold;"><B> 
 Total Pages</B></span> code as described in Step 4 above. </p></li>
	
<li class=p><p class="whs2">Click anywhere outside of 
 the text field to stop editing it.</p></li>
</ul>
<ul type="disc" class="whs3">
	
<li class=p><p class="whs2">Click <span style="font-weight: bold;"><B>Text</B></span> 
 on the toolbar. </p></li>
	
<li class=p><p class="whs2">In the section you expanded, 
 click where you want the page number. The new text field is inserted. 
 </p></li>
	
<li class=p><p class="whs2">Type any text and/or codes 
 in the text field. </p></li>
	<ul type="disc" class="whs3">
		<ul type="square" class="whs4">
			
<li class=p><p class="whs5">The code for page 
 number is {&amp;PAGE}. </p></li>
			
<li class=p><p>The code for the total number of pages in the 
 document is {&amp;NPAGES}.</p></li>
		</ul>
	</ul>
</ul>
<p class="whs2"><span style="font-weight: bold;"><B>Note</B></span>: 
 Codes must be within braces { }. For more information on auto text codes, 
 see 
<a HREF="Add_auto_text_codes.htm">Adding auto text codes to documents</a>.</p>
<h3>Related topics</h3>
<ul type="disc" class="whs3">
	
<li class=p><p>
<a HREF="Add_page_breaks_to_document.htm">Adding page 
 breaks to a document</a></p></li>
	
<li class=p><p>
<a HREF="Add_auto_text_codes.htm">Adding auto text codes 
 to documents</a></p></li>
</ul>
<ul type="disc" class="whs3">
	
<li class=p><p>
<a HREF="Add_page_breaks_to_document.htm">Adding page 
 breaks to a document</a></p></li>
	
<li class=p><p>
<a href="Sections_in_documents.htm">Working with sections 
 in documents</a></p></li>
</ul>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
